package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.PropertyFacilityMaintain;

/**
 * 设施维护记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public interface PropertyFacilityMaintainMapper 
{
    /**
     * 查询设施维护记录
     * 
     * @param maintainId 设施维护记录主键
     * @return 设施维护记录
     */
    public PropertyFacilityMaintain selectPropertyFacilityMaintainByMaintainId(Long maintainId);

    /**
     * 查询设施维护记录列表
     * 
     * @param propertyFacilityMaintain 设施维护记录
     * @return 设施维护记录集合
     */
    public List<PropertyFacilityMaintain> selectPropertyFacilityMaintainList(PropertyFacilityMaintain propertyFacilityMaintain);

    /**
     * 新增设施维护记录
     * 
     * @param propertyFacilityMaintain 设施维护记录
     * @return 结果
     */
    public int insertPropertyFacilityMaintain(PropertyFacilityMaintain propertyFacilityMaintain);

    /**
     * 修改设施维护记录
     * 
     * @param propertyFacilityMaintain 设施维护记录
     * @return 结果
     */
    public int updatePropertyFacilityMaintain(PropertyFacilityMaintain propertyFacilityMaintain);

    /**
     * 删除设施维护记录
     * 
     * @param maintainId 设施维护记录主键
     * @return 结果
     */
    public int deletePropertyFacilityMaintainByMaintainId(Long maintainId);

    /**
     * 批量删除设施维护记录
     * 
     * @param maintainIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePropertyFacilityMaintainByMaintainIds(Long[] maintainIds);
}
